package com.szcinda.call.service;

import com.szcinda.call.repository.Mission;

import java.util.List;

public interface MissionService {
    String addMission(Mission mission);

    void deleteMission(String userName, String id);

    Mission findOneMission(String userName);

    Mission findMissionById(String userName, String id);

    List<Mission> findMyMission(String userName);

    List<Mission> findHistoryMissions(String userName);

    void startMission(String userName, String id);

    void finishMission(String userName, String id);

    void missionError(String userName, String missionId);
}
